<extend name="Base/common"/>

<block name="body">
  <div class="sdp">
    <div class="head bg-2">
      <a href="{:U('Shops/detail', array('uid' => UID))}" class="my-shop">我的店铺</a>
      <div class="text-center hd">
        <p>今日收入(元)</p>
        <h2>{$data.today_finance|default='0.00'}</h2>
      </div>
      <div class="text-center bd">
        <p>累计收入(元)</p>
        <h4>
          {$data.total_revenue|default='0.00'}
          <a href="{:U('Member/finance/type/sdp_order')}" class="btn">明细</a>
        </h4>
      </div>
    </div>
    
    <div class="nav">
      <ul class="flex-box">
        <li>
          <a href="{:U('Shops/manage')}">
            <i class="icon icon-shop"></i>
            <span>店铺设置</span>
          </a>
        </li>
        <li>
          <a href="{:U('Shops/item')}">
            <i class="icon icon-items"></i>
            <span>商品管理</span>
          </a>
        </li>
      </ul>
      <ul class="flex-box">
        <li>
          <a href="{:U('Shops/order')}">
            <i class="icon icon-form"></i>
            <span>订单管理</span>
          </a>
        </li>
        <li>
          <a href="{:U('Shops/stat')}">
            <i class="icon icon-stat"></i>
            <span>店铺统计</span>
          </a>
        </li>
      </ul>
    </div>

    <!-- 收入列表 -->
    <!-- <div class="lists">
      <ul class="table-view" id="Z_load_itemlist">
        <li class="table-view-cell table-view-divider"><strong>近期收入明细</strong></li>
        <notempty name="lists">
          <include file="Sdp/recordList"/>
        <else />
          <p class="list-empty">还没有分销记录哦</p>
        </notempty>
      </ul>
      <notempty name='_hasmore'>
      <p class="loadmore">
        <a href="{:U('Sdp/record')}" class="btn btn-large btn-block"><span>查看更多明细…</span></a>
      </p>
      </notempty>
    </div> -->
  </div>
  <div id="Z_choose_bindtype">
    <div class="modal-select">
      <ul>
        <li><a href="{:U('Sdp/bind?type=alipay')}">绑定支付宝</a></li>
        <li><a href="{:U('Sdp/bind?type=bankcard')}">绑定银行卡</a></li>
      </ul>
    </div>
  </div>
</block>

<block name="script">
  <script>
  </script>
</block>